<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewVehiculoTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewVehiculoLabel_idAuto}"/>
                    <h:outputText value="#{vehiculoController.selected.idAuto}" title="#{bundle.ViewVehiculoTitle_idAuto}"/>
                    <h:outputText value="#{bundle.ViewVehiculoLabel_idCliente}"/>
                    <h:outputText value="#{vehiculoController.selected.idCliente}" title="#{bundle.ViewVehiculoTitle_idCliente}"/>
                    <h:outputText value="#{bundle.ViewVehiculoLabel_idLavado}"/>
                    <h:outputText value="#{vehiculoController.selected.idLavado}" title="#{bundle.ViewVehiculoTitle_idLavado}"/>
                    <h:outputText value="#{bundle.ViewVehiculoLabel_marca}"/>
                    <h:outputText value="#{vehiculoController.selected.marca}" title="#{bundle.ViewVehiculoTitle_marca}"/>
                    <h:outputText value="#{bundle.ViewVehiculoLabel_tipoAuto}"/>
                    <h:outputText value="#{vehiculoController.selected.tipoAuto}" title="#{bundle.ViewVehiculoTitle_tipoAuto}"/>
                    <h:outputText value="#{bundle.ViewVehiculoLabel_placa}"/>
                    <h:outputText value="#{vehiculoController.selected.placa}" title="#{bundle.ViewVehiculoTitle_placa}"/>
                    <h:outputText value="#{bundle.ViewVehiculoLabel_llantas}"/>
                    <h:outputText value="#{vehiculoController.selected.llantas}" title="#{bundle.ViewVehiculoTitle_llantas}"/>
                    <h:outputText value="#{bundle.ViewVehiculoLabel_puertas}"/>
                    <h:outputText value="#{vehiculoController.selected.puertas}" title="#{bundle.ViewVehiculoTitle_puertas}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{vehiculoController.destroyAndView}" value="#{bundle.ViewVehiculoDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewVehiculoEditLink}"/>
                <br />
                <h:commandLink action="#{vehiculoController.prepareCreate}" value="#{bundle.ViewVehiculoCreateLink}" />
                <br />
                <h:commandLink action="#{vehiculoController.prepareList}" value="#{bundle.ViewVehiculoShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewVehiculoIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
